package com.office.automate.service.impl.employee;

import java.util.List;

import com.office.automate.dataaccess.def.user.EmployeeQueryDao;
import com.office.automate.dataaccess.impl.user.EmployeeQueryDaoImplementer;
import com.office.automate.exception.framework.FrontierVisibleException;
import com.office.automate.model.employee.Employee;
import com.office.automate.service.def.employee.EmployeeQueryService;

public class EmployeeQueryServiceImplementer implements EmployeeQueryService {

	EmployeeQueryDao employeeQueryDao = new EmployeeQueryDaoImplementer();

	public List<Employee> getManagersOrSupervisors() throws FrontierVisibleException {

		return employeeQueryDao.getManagersOrSupervisors();
	}

	public List<Employee> getAllEmployees() throws FrontierVisibleException {
		return employeeQueryDao.getAllEmployees();
	}
}
